package ru.ifmo.contest.games2;

import java.io.*;
import java.util.StringTokenizer;

/**
 * @author avhaliullin
 */

public class TaskA {
    FastScanner in;
    PrintWriter out;

    public void solve() throws IOException {

        int a = in.nextInt();
        int b = in.nextInt();

        while (a > 0 && b > 0) {
            a /= 2;
            b /= 2;
        }
        if (a < b) {
            out.println("Vova");
        } else {
            out.println("Gena");
        }

    }

    public void run(String fileName) {
        try {
            in = new FastScanner(new File(fileName + ".in"));
            out = new PrintWriter(new File(fileName + ".out"));

            solve();

            out.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        FastScanner(File f) {
            try {
                br = new BufferedReader(new FileReader(f));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }
        }

        String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }
    }

    public static void main(String[] arg) {
        new TaskA().run("chocolate");
    }
}
